<%@ page language="java" contentType="text/html; charset=utf-8" import="java.util.*,com.entity.*"
    pageEncoding="utf-8"%>
   
    
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";	
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
	<title>jspModel</title>
	<meta http-equiv="Content-Type" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
<!-- 	<link rel="styleSheet" type="text/css" href="style.css"> -->
<!-- 	<script type="text/javascript" src="xxxxx"></script> -->

</head>
<body>

<h1>用户列表jsp的添加</h1>
<hr/>

<form action="UserServlet" method="post">

<input type="hidden" name="flag" value="delMulti">

<%
	List<UserInfo> userList = (List<UserInfo>)request.getAttribute("userList");
%>
<table border="3">
<%
	for(UserInfo u :userList){
%>

<tr>
	<td><input type="checkbox" name="ids" value="<%=u.getId()%>"></td>
	<td> <%=u.getId() %></td>
	<td> <%=u.getUsername() %></td>
	<td> <%=u.getPassword() %></td>
	<td> <%=u.getNote() %></td>
</tr>

<%
	}
%>

</table>

<input type="submit" value="删除所有">

</form>


</body>
</html>